﻿<Window x:Class="VKontakteClient.PopupMessageWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Local="clr-namespace:VKontakteClient"
    Title="Обновление" Height="100" Width="300" AllowsTransparency="True" BorderThickness="1" WindowStyle="None" ShowInTaskbar="False" MouseRightButtonUp="Window_MouseRightButtonUp" SourceInitialized="Window_SourceInitialized">
    <Window.Resources>
        <Local:MessageToUIConverter x:Key="MsgToUI" />
    </Window.Resources>
    <Grid>
        <Border CornerRadius="5" BorderThickness="5" Background="AliceBlue" Opacity="50">
            <Border.BorderBrush>
                <LinearGradientBrush SpreadMethod="Reflect">
                    <LinearGradientBrush.Transform>
                        <RotateTransform Angle="90">
                        </RotateTransform>
                    </LinearGradientBrush.Transform>
                    <GradientStop Color="LightBlue" Offset="0.1" />
                    <GradientStop Color="White" Offset="0.0" />
                </LinearGradientBrush>
            </Border.BorderBrush>
            <TextBlock TextWrapping="Wrap" Margin="10">
            <TextBlock.Text>
                <Binding Converter="{StaticResource MsgToUI}">
                </Binding>
            </TextBlock.Text>
            </TextBlock>
        </Border>
    </Grid>
</Window>
